﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Main.Master" Inherits="System.Web.Mvc.ViewPage<Defect_Tracking_System.Models.AddGroupMemberModel>" %>
<%@ Import Namespace="Helpers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Add User
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div id="page-heading"><h1>Add new user to Group</h1></div>

<table cellspacing="0" cellpadding="0" border="0" width="100%" id="content-table">
<tbody><tr>
	<th class="sized" rowspan="3"><img height="300" width="20" alt="" src="/Content/images/shared/side_shadowleft.jpg"></th>
	<th class="topleft"></th>
	<td id="tbl-border-top">&nbsp;</td>
	<th class="topright"></th>
	<th class="sized" rowspan="3"><img height="300" width="20" alt="" src="/Content/images/shared/side_shadowright.jpg"></th>
</tr>
<tr>
	<td id="tbl-border-left"></td>
	<td>
	<!--  start content-table-inner -->
	<div id="content-table-inner">
	
	<table cellspacing="0" cellpadding="0" border="0" width="100%">
	<tbody><tr valign="top">
	<td>		
	
        <!-- start id-form -->
        <% Html.BeginForm(); %>
        <%if (ViewData["message"] != null)
              { %>
                <div id="message-yellow">
				    <table cellspacing="0" cellpadding="0" border="0" width="100%">
				    <tbody>
                        <tr>
					        <td class="yellow-left"><%: ViewData["message"]%></td>
					        <td class="yellow-right"><a class="close-yellow"><img alt="" src="/Content/images/table/icon_close_yellow.gif"></a></td>
				        </tr>
				    </tbody>
                    </table>
				</div>
                <% } %>
        <table cellspacing="0" cellpadding="0" border="0" id="id-form">
        <tbody>
        <tr>
            <th valign="top">First Name:</th>
            <td><%: Html.MyTextBoxFor(m => m.FirstName) %></td>
            <td><%: Html.MyValidationMessageFor(m => m.FirstName) %></td>
        </tr>
        <tr>
            <th valign="top">Last Name:</th>
            <td><%: Html.MyTextBoxFor(m => m.LastName) %></td>
            <td><%: Html.MyValidationMessageFor(m => m.LastName) %></td>
        </tr>
        <tr>
            <th valign="top">UserName:</th>
            <td><%: Html.MyTextBoxFor(m => m.UserName) %></td>
            <td><%: Html.MyValidationMessageFor(m => m.UserName) %></td>
        </tr>
        <tr>
            <th valign="top">Password: </th>
            <td><%: Html.MyPasswordFor(m => m.Password) %></td>
            <td><%: Html.MyValidationMessageFor(m => m.Password) %></td>
        </tr>
        <tr>
            <th valign="top">ConfirmPassword:</th>
            <td><%: Html.MyPasswordFor(m => m.ConfirmPassword) %></td>
            <td><%: Html.MyValidationMessageFor(m => m.ConfirmPassword) %></td>
        </tr>
        <tr>
            <th valign="top">Email:</th>
            <td><%: Html.MyTextBoxFor(m => m.Email) %></td>
            <td><%: Html.MyValidationMessageFor(m => m.Email) %></td>
        </tr>
        <tr>
            <th valign="top">Address:</th>
            <td><%: Html.MyTextBoxFor(m => m.Address) %></td>
            <td><%: Html.MyValidationMessageFor(m => m.Address) %></td>
        </tr>
        <tr>
            <th valign="top">Role:</th>
            <td><%: Html.DropDownListFor(m => m.Role, Model.Roles, new { @class = "styledselect_form_1" })%></td>
            <td><%: Html.MyValidationMessageFor(m => m.Role) %></td>            
        </tr>
        <tr>
            <th valign="top">IsActive:</th>
			<td><%: Html.CheckBoxFor(m => m.IsActive, new { @class = "ui-checkbox ui-checkbox-state-checked" })%></td>          
        </tr>
        <tr>
            <th>&nbsp;</th>
            <td valign="top">
                <input type="submit" class="button1" value="Submit"/>
                <input type="reset" class="button2" value="Reset"/>
            </td>
            <td></td>
        </tr>
        </tbody>
        </table>
        <% Html.EndForm(); %>
        <!-- end id-form  -->

	</td>
	<td>

<div class="margin-padding">
	<!--  start related-activities -->
	<div id="related-activities">
		
		<!--  start related-act-top -->
		<div id="related-act-top">
		<img height="43" width="271" alt="" src="/Content/images/shared/Helper.png" />
		</div>
		<!-- end related-act-top -->
		
		<!--  start related-act-bottom -->
		<div id="related-act-bottom">
		
			<!--  start related-act-inner -->
			<div id="related-act-inner">
			
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_plus.gif"></a></div>
				<div class="right">
					<h5>Manager Account</h5>
					Manager all accounts.You can delete, edit, view any Accounts...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/AccountManagement_Help.html">Click here to visit</a></li>
					</ul>
				</div>
				
				<div class="clear"></div>
				<div class="lines-dotted-short"></div>
				
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_minus.gif"></a></div>
				<div class="right">
					<h5>Delete Account</h5>
					Manager all accounts.You can delete account by click to delete icon in account list...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/AccountManagement_Help.html-DeleteUser">Click here to visit</a></li> 
					</ul>
				</div>
				
				<div class="clear"></div>
				<div class="lines-dotted-short"></div>
				
				<div class="left"><a href=""><img height="21" width="21" alt="" src="/Content/images/forms/icon_edit.gif"></a></div>
				<div class="right">
					<h5>Edit Account</h5>
					Manager all accounts.You can edit account by click to edit icon in account list or ...
					<ul class="greyarrow">
						<li><a href="/Help?Url=/Content/Help/AccountManagement_Help.html-EditInformation">Click here to visit</a></li> 
					</ul>
				</div>
				<div class="clear"></div>
				
			</div>
			<!-- end related-act-inner -->
			<div class="clear"></div>
		
		</div>
		<!-- end related-act-bottom -->
	
	</div>
	<!-- end related-activities -->

</div>
    </td>
</tr>
<tr>
<td><img height="1" width="695" alt="blank" src="/Content/images/shared/blank.gif"></td>
<td></td>
</tr>
</tbody></table>
 
<div class="clear"></div>
 

</div>
<!--  end content-table-inner  -->
</td>
<td id="tbl-border-right"></td>
</tr>
<tr>
	<th class="sized bottomleft"></th>
	<td id="tbl-border-bottom">&nbsp;</td>
	<th class="sized bottomright"></th>
</tr>
</tbody></table>

<div class="clear">&nbsp;</div>

</asp:Content>
